package library.User;

import library.book.BookList;
import library.operation.Opretation;

public abstract class User {
    protected String name;

    Opretation[] opretations;

    public abstract int menu();

    public void dowork(int choise,BookList bookList) {
        this.opretations[choise].work(bookList);
    }
}
